package com.study.design.builder.base2;

public class ConcreteBuilder extends Builder {

    private Product product;

    public ConcreteBuilder() {
        this.product = new Product();
    }

    @Override
    void partA() {
        product.setPartA("a");
    }

    @Override
    void partB() {
        product.setPartB("B");
    }

    @Override
    void partC() {
        product.setPartC("C");
    }

    @Override
    Product getProduct() {
        return product;
    }
}
